#ifndef CONTENTDAO_H_
#define CONTENTDAO_H_

#include "../../model/Content.h"

class ContentDAO {
public:
	virtual void save(Content content) = 0;
	virtual void update(Content content) = 0;
	virtual void remove(Content content) = 0;
	virtual Content loadContentById(int id) = 0;
	virtual Content loadContentByName(std::string name) = 0;
	virtual int countAll() = 0;
	virtual ~ContentDAO() {
	}
protected:
	ContentDAO() {
	}
};

#endif /* CONTENTDAO_H_ */
